package cn.wetcland.urban.admin.mapper;

import cn.wetcland.urban.admin.vo.DashboardVO;
import cn.wetcland.urban.admin.vo.LastOrderItemVO;
import cn.wetcland.urban.generator.domain.UtOrder;
import cn.wetcland.urban.generator.dto.BaseConditionSearchDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Wetcland
* @description 针对表【ut_order】的数据库操作Mapper
* @createDate 2024-01-21 09:51:59
* @Entity generator.domain.UtOrder
*/
@Mapper
public interface UtOrderMapper extends BaseMapper<UtOrder> {

    Page<UtOrder> selectOrderListPage(Page<UtOrder> orderPage, @Param("search") BaseConditionSearchDTO searchDTO);

    DashboardVO selectDashboardDetails();

    List<LastOrderItemVO> selectLastOrderNum();
}




